package beans;

public class User {
	private int userid;//为了确保与request中name相同，都用小字，中间不用_
	private String userno;
	private String userpwd;

	private String username;

	private String usersex;
	private String userage;

	private String userprofession;
	
	private String userinterest;

	public int getUserid() {
		return userid;
	}
	public void setUserid(int userid) {
		this.userid = userid;
	}
	public String getUserno() {
		return userno;
	}
	public void setUserno(String userno) {
		this.userno = userno;
	}
	public String getUserpwd() {
		return userpwd;
	}
	public void setUserpwd(String userpwd) {
		this.userpwd = userpwd;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getUsersex() {
		return usersex;
	}
	public void setUsersex(String usersex) {
		this.usersex = usersex;
	}
	public String getUserage() {
		return userage;
	}
	public void setUserage(String userage) {
		this.userage = userage;
	}
	public String getUserprofession() {
		return userprofession;
	}
	public void setUserprofession(String userprofession) {
		this.userprofession = userprofession;
	}
	public String getUserinterest() {
		return userinterest;
	}
	public void setUserinterest(String userinterest) {
		this.userinterest = userinterest;
	}
	public String getUseremail() {
		return useremail;
	}
	public void setUseremail(String useremail) {
		this.useremail = useremail;
	}
	public String getUseraddress() {
		return useraddress;
	}
	public void setUseraddress(String useraddress) {
		this.useraddress = useraddress;
	}
	public String getUsersummary() {
		return usersummary;
	}
	public void setUsersummary(String usersummary) {
		this.usersummary = usersummary;
	}
	public String getUserphoto() {
		return userphoto;
	}
	public void setUserphoto(String userphoto) {
		this.userphoto = userphoto;
	}
	private String useremail;
	private String useraddress;

	private String usersummary;
	private String userphoto;
	public User() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	
	
	public User(int userid, String userno, String userpwd, String username, String usersex, String userage,
			String useraddress, String userprofession, String userinterest, String useremail, String userphoto,
			String usersummary) {
		super();
		this.userid = userid;
		this.userno = userno;
		this.userpwd = userpwd;
		this.username = username;
		this.usersex = usersex;
		this.userage = userage;
		this.useraddress = useraddress;
		this.userprofession = userprofession;
		this.userinterest = userinterest;
		this.useremail = useremail;
		this.userphoto = userphoto;
		this.usersummary = usersummary;
	}
	@Override
	public String toString() {
		return "User [userid=" + userid + ", userno=" + userno + ", userpwd=" + userpwd + ", username=" + username
				+ ", usersex=" + usersex + ", userage=" + userage + ", userprofession=" + userprofession
				+ ", userinterest=" + userinterest + ", useremail=" + useremail + ", useraddress=" + useraddress
				+ ", usersummary=" + usersummary + ", userphoto=" + userphoto + "]";
	}
	
	


}
